import request from "../../util/request";

//报告下载
export function downloadTxt(id) {
  return request({
    url: "/Excel/ExportEquReport",
    method: "POST",
    // headers: {
    //   isToken: true
    // },
    responseType: "blob",
    params: { id },
  });
}

//报告echarts数据

export function chart(c5, c6, c7, curr) {
  return request({
    url:
      "/services/app/Equparams/GetChartData?C5=" +
      c5 +
      "&" +
      "c6=" +
      c6 +
      "&" +
      "c7=" +
      c7 +
      "&curr=" +
      curr +
      "&step=1",
    method: "get",
  });
}
